package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.PassiveHitsInSpreadEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.PassiveHitsBTSMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.PassiveHitSingleFactBTS;

public class PassiveHitsBTSEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<PassiveHitsInSpreadEvent, PassiveHitSingleFactBTS>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<PassiveHitsInSpreadEvent, PassiveHitSingleFactBTS> 
	            getCreator( List<PassiveHitSingleFactBTS> dataItems) {
		return new PassiveHitsBTSMessageCreator(dataItems);
	}

}